package com.zzzyh.springteans.service;

import com.zzzyh.springteans.mapper.UserMapper;
import com.zzzyh.springteans.pojo.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    public int insertUser(UserInfo userInfo) {
        return userMapper.insertUser(userInfo);
    }
}
